server:server.o
	gcc -o server server.o -lpthread
server.o:server.c chat.h
	gcc -c server.c -lpthread
clean:
	rm -f *.o server

